package com.bbcare.followup.plat.service;

import java.util.List;
import java.util.Map;


/**
 * @name: 微信端端调用随访系统服务类接口
 * @author: DemonLee
 * @createTime: 2017.5.19
 * @description: 随访系统提供给微信端单独调用的相关服务接口
 * @modify:
 * 
 */
public interface IWeChatUserService {
	
	//根据二维码code 查询科室id
	Map<String,Object> getDeptInfoByCode(Map<String, Object> paramMap) throws Exception;
	
	Map<String, Object> wechatRegister(Map<String, Object> servParamMap) throws Exception;
	
	//获取token
    String getAccessToken(String appId,String secret,String redisKey) throws Exception;
    //获取用户信息
    Map<String,Object> getUserInfoByToken(String token,String openId,Map<String,Object> paramMap) throws Exception;
    
    List<Map<String,Object>> getComList(Map<String,Object> paramMap) throws Exception;
    
    Map<String, Object> getOpenId(Map<String, Object> paramMap)throws Exception;

    Map<String, Object> getWxContent(Map<String, Object> paramMap)throws Exception;
}
